package com.sjd.mall.domain;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : Mr.s
 * @version : 1.0
 * @description : banner设置
 * @date : 2022-02-10 14:37
 */
@Data
public class SjdGoodsBannerOnlineOfflineRequest {
    /**
     * 商品id
     */
    @NotNull(message = "商品id不可为空")
    private Long goodsId;

    /**
     * 上下线 true-上线 false-下线
     */
    @NotNull(message = "isAdd")
    private Boolean isAdd;

}
